\(\int x (d-c^2 d x^2)^{3/2} (a+b \text {arccosh}(c x)) \, dx\) [83]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [B] (verified)
   Fricas [A] (verification not implemented)
   Sympy [F]
   Maxima [A] (verification not implemented)
   Giac [F(-2)]
   Mupad [F(-1)]

Optimal result

Integrand size = 25, antiderivative size = 165 \[ \int x \left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x)) \, dx=\frac {b d x \sqrt {d-c^2 d x^2}}{5 c \sqrt {-1+c x} \sqrt {1+c x}}-\frac {2 b c d x^3 \sqrt {d-c^2 d x^2}}{15 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {b c^3 d x^5 \sqrt {d-c^2 d x^2}}{25 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (d-c^2 d x^2\right )^{5/2} (a+b \text {arccosh}(c x))}{5 c^2 d} \]

[Out]

-1/5*(-c^2*d*x^2+d)^(5/2)*(a+b*arccosh(c*x))/c^2/d+1/5*b*d*x*(-c^2*d*x^2+d)^(1/2)/c/(c*x-1)^(1/2)/(c*x+1)^(1/2
)-2/15*b*c*d*x^3*(-c^2*d*x^2+d)^(1/2)/(c*x-1)^(1/2)/(c*x+1)^(1/2)+1/25*b*c^3*d*x^5*(-c^2*d*x^2+d)^(1/2)/(c*x-1
)^(1/2)/(c*x+1)^(1/2)

Rubi [A] (verified)

Time = 0.06 (sec) , antiderivative size = 165, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.120, Rules used = {5914, 41, 200} \[ \int x \left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x)) \, dx=-\frac {\left (d-c^2 d x^2\right )^{5/2} (a+b \text {arccosh}(c x))}{5 c^2 d}+\frac {b d x \sqrt {d-c^2 d x^2}}{5 c \sqrt {c x-1} \sqrt {c x+1}}-\frac {2 b c d x^3 \sqrt {d-c^2 d x^2}}{15 \sqrt {c x-1} \sqrt {c x+1}}+\frac {b c^3 d x^5 \sqrt {d-c^2 d x^2}}{25 \sqrt {c x-1} \sqrt {c x+1}} \]

[In]

Int[x*(d - c^2*d*x^2)^(3/2)*(a + b*ArcCosh[c*x]),x]

[Out]

(b*d*x*Sqrt[d - c^2*d*x^2])/(5*c*Sqrt[-1 + c*x]*Sqrt[1 + c*x]) - (2*b*c*d*x^3*Sqrt[d - c^2*d*x^2])/(15*Sqrt[-1
 + c*x]*Sqrt[1 + c*x]) + (b*c^3*d*x^5*Sqrt[d - c^2*d*x^2])/(25*Sqrt[-1 + c*x]*Sqrt[1 + c*x]) - ((d - c^2*d*x^2
)^(5/2)*(a + b*ArcCosh[c*x]))/(5*c^2*d)

Rule 41

Int[((a_) + (b_.)*(x_))^(m_.)*((c_) + (d_.)*(x_))^(m_.), x_Symbol] :> Int[(a*c + b*d*x^2)^m, x] /; FreeQ[{a, b
, c, d, m}, x] && EqQ[b*c + a*d, 0] && (IntegerQ[m] || (GtQ[a, 0] && GtQ[c, 0]))

Rule 200

Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Int[ExpandIntegrand[(a + b*x^n)^p, x], x] /; FreeQ[{a, b}, x]
&& IGtQ[n, 0] && IGtQ[p, 0]

Rule 5914

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_.)*(x_)*((d_) + (e_.)*(x_)^2)^(p_.), x_Symbol] :> Simp[(d + e*x^2)^
(p + 1)*((a + b*ArcCosh[c*x])^n/(2*e*(p + 1))), x] - Dist[b*(n/(2*c*(p + 1)))*Simp[(d + e*x^2)^p/((1 + c*x)^p*
(-1 + c*x)^p)], Int[(1 + c*x)^(p + 1/2)*(-1 + c*x)^(p + 1/2)*(a + b*ArcCosh[c*x])^(n - 1), x], x] /; FreeQ[{a,
 b, c, d, e, p}, x] && EqQ[c^2*d + e, 0] && GtQ[n, 0] && NeQ[p, -1]

Rubi steps \begin{align*} \text {integral}& = -\frac {\left (d-c^2 d x^2\right )^{5/2} (a+b \text {arccosh}(c x))}{5 c^2 d}+\frac {\left (b d \sqrt {d-c^2 d x^2}\right ) \int (-1+c x)^2 (1+c x)^2 \, dx}{5 c \sqrt {-1+c x} \sqrt {1+c x}} \\ & = -\frac {\left (d-c^2 d x^2\right )^{5/2} (a+b \text {arccosh}(c x))}{5 c^2 d}+\frac {\left (b d \sqrt {d-c^2 d x^2}\right ) \int \left (-1+c^2 x^2\right )^2 \, dx}{5 c \sqrt {-1+c x} \sqrt {1+c x}} \\ & = -\frac {\left (d-c^2 d x^2\right )^{5/2} (a+b \text {arccosh}(c x))}{5 c^2 d}+\frac {\left (b d \sqrt {d-c^2 d x^2}\right ) \int \left (1-2 c^2 x^2+c^4 x^4\right ) \, dx}{5 c \sqrt {-1+c x} \sqrt {1+c x}} \\ & = \frac {b d x \sqrt {d-c^2 d x^2}}{5 c \sqrt {-1+c x} \sqrt {1+c x}}-\frac {2 b c d x^3 \sqrt {d-c^2 d x^2}}{15 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {b c^3 d x^5 \sqrt {d-c^2 d x^2}}{25 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (d-c^2 d x^2\right )^{5/2} (a+b \text {arccosh}(c x))}{5 c^2 d} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.19 (sec) , antiderivative size = 107, normalized size of antiderivative = 0.65 \[ \int x \left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x)) \, dx=-\frac {d \sqrt {d-c^2 d x^2} \left (15 a \left (-1+c^2 x^2\right )^3+b c x \sqrt {-1+c x} \sqrt {1+c x} \left (-15+10 c^2 x^2-3 c^4 x^4\right )+15 b \left (-1+c^2 x^2\right )^3 \text {arccosh}(c x)\right )}{75 c^2 \left (-1+c^2 x^2\right )} \]

[In]

Integrate[x*(d - c^2*d*x^2)^(3/2)*(a + b*ArcCosh[c*x]),x]

[Out]

-1/75*(d*Sqrt[d - c^2*d*x^2]*(15*a*(-1 + c^2*x^2)^3 + b*c*x*Sqrt[-1 + c*x]*Sqrt[1 + c*x]*(-15 + 10*c^2*x^2 - 3
*c^4*x^4) + 15*b*(-1 + c^2*x^2)^3*ArcCosh[c*x]))/(c^2*(-1 + c^2*x^2))

Maple [B] (verified)

Leaf count of result is larger than twice the leaf count of optimal. \(619\) vs. \(2(137)=274\).

Time = 1.01 (sec) , antiderivative size = 620, normalized size of antiderivative = 3.76

method result size
default \(-\frac {a \left (-c^{2} d \,x^{2}+d \right )^{\frac {5}{2}}}{5 c^{2} d}+b \left (-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (16 c^{6} x^{6}-28 c^{4} x^{4}+16 \sqrt {c x +1}\, \sqrt {c x -1}\, c^{5} x^{5}+13 c^{2} x^{2}-20 \sqrt {c x -1}\, \sqrt {c x +1}\, c^{3} x^{3}+5 \sqrt {c x -1}\, \sqrt {c x +1}\, c x -1\right ) \left (-1+5 \,\operatorname {arccosh}\left (c x \right )\right ) d}{800 \left (c x +1\right ) c^{2} \left (c x -1\right )}+\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (4 c^{4} x^{4}-5 c^{2} x^{2}+4 \sqrt {c x -1}\, \sqrt {c x +1}\, c^{3} x^{3}-3 \sqrt {c x -1}\, \sqrt {c x +1}\, c x +1\right ) \left (-1+3 \,\operatorname {arccosh}\left (c x \right )\right ) d}{96 \left (c x +1\right ) c^{2} \left (c x -1\right )}-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (\sqrt {c x -1}\, \sqrt {c x +1}\, c x +c^{2} x^{2}-1\right ) \left (-1+\operatorname {arccosh}\left (c x \right )\right ) d}{16 \left (c x +1\right ) c^{2} \left (c x -1\right )}-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-\sqrt {c x -1}\, \sqrt {c x +1}\, c x +c^{2} x^{2}-1\right ) \left (1+\operatorname {arccosh}\left (c x \right )\right ) d}{16 \left (c x +1\right ) c^{2} \left (c x -1\right )}+\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-4 \sqrt {c x -1}\, \sqrt {c x +1}\, c^{3} x^{3}+4 c^{4} x^{4}+3 \sqrt {c x -1}\, \sqrt {c x +1}\, c x -5 c^{2} x^{2}+1\right ) \left (1+3 \,\operatorname {arccosh}\left (c x \right )\right ) d}{96 \left (c x +1\right ) c^{2} \left (c x -1\right )}-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-16 \sqrt {c x +1}\, \sqrt {c x -1}\, c^{5} x^{5}+16 c^{6} x^{6}+20 \sqrt {c x -1}\, \sqrt {c x +1}\, c^{3} x^{3}-28 c^{4} x^{4}-5 \sqrt {c x -1}\, \sqrt {c x +1}\, c x +13 c^{2} x^{2}-1\right ) \left (1+5 \,\operatorname {arccosh}\left (c x \right )\right ) d}{800 \left (c x +1\right ) c^{2} \left (c x -1\right )}\right )\) \(620\)
parts \(-\frac {a \left (-c^{2} d \,x^{2}+d \right )^{\frac {5}{2}}}{5 c^{2} d}+b \left (-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (16 c^{6} x^{6}-28 c^{4} x^{4}+16 \sqrt {c x +1}\, \sqrt {c x -1}\, c^{5} x^{5}+13 c^{2} x^{2}-20 \sqrt {c x -1}\, \sqrt {c x +1}\, c^{3} x^{3}+5 \sqrt {c x -1}\, \sqrt {c x +1}\, c x -1\right ) \left (-1+5 \,\operatorname {arccosh}\left (c x \right )\right ) d}{800 \left (c x +1\right ) c^{2} \left (c x -1\right )}+\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (4 c^{4} x^{4}-5 c^{2} x^{2}+4 \sqrt {c x -1}\, \sqrt {c x +1}\, c^{3} x^{3}-3 \sqrt {c x -1}\, \sqrt {c x +1}\, c x +1\right ) \left (-1+3 \,\operatorname {arccosh}\left (c x \right )\right ) d}{96 \left (c x +1\right ) c^{2} \left (c x -1\right )}-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (\sqrt {c x -1}\, \sqrt {c x +1}\, c x +c^{2} x^{2}-1\right ) \left (-1+\operatorname {arccosh}\left (c x \right )\right ) d}{16 \left (c x +1\right ) c^{2} \left (c x -1\right )}-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-\sqrt {c x -1}\, \sqrt {c x +1}\, c x +c^{2} x^{2}-1\right ) \left (1+\operatorname {arccosh}\left (c x \right )\right ) d}{16 \left (c x +1\right ) c^{2} \left (c x -1\right )}+\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-4 \sqrt {c x -1}\, \sqrt {c x +1}\, c^{3} x^{3}+4 c^{4} x^{4}+3 \sqrt {c x -1}\, \sqrt {c x +1}\, c x -5 c^{2} x^{2}+1\right ) \left (1+3 \,\operatorname {arccosh}\left (c x \right )\right ) d}{96 \left (c x +1\right ) c^{2} \left (c x -1\right )}-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-16 \sqrt {c x +1}\, \sqrt {c x -1}\, c^{5} x^{5}+16 c^{6} x^{6}+20 \sqrt {c x -1}\, \sqrt {c x +1}\, c^{3} x^{3}-28 c^{4} x^{4}-5 \sqrt {c x -1}\, \sqrt {c x +1}\, c x +13 c^{2} x^{2}-1\right ) \left (1+5 \,\operatorname {arccosh}\left (c x \right )\right ) d}{800 \left (c x +1\right ) c^{2} \left (c x -1\right )}\right )\) \(620\)

[In]

int(x*(-c^2*d*x^2+d)^(3/2)*(a+b*arccosh(c*x)),x,method=_RETURNVERBOSE)

[Out]

-1/5*a*(-c^2*d*x^2+d)^(5/2)/c^2/d+b*(-1/800*(-d*(c^2*x^2-1))^(1/2)*(16*c^6*x^6-28*c^4*x^4+16*(c*x+1)^(1/2)*(c*
x-1)^(1/2)*c^5*x^5+13*c^2*x^2-20*(c*x-1)^(1/2)*(c*x+1)^(1/2)*c^3*x^3+5*(c*x-1)^(1/2)*(c*x+1)^(1/2)*c*x-1)*(-1+
5*arccosh(c*x))*d/(c*x+1)/c^2/(c*x-1)+1/96*(-d*(c^2*x^2-1))^(1/2)*(4*c^4*x^4-5*c^2*x^2+4*(c*x-1)^(1/2)*(c*x+1)
^(1/2)*c^3*x^3-3*(c*x-1)^(1/2)*(c*x+1)^(1/2)*c*x+1)*(-1+3*arccosh(c*x))*d/(c*x+1)/c^2/(c*x-1)-1/16*(-d*(c^2*x^
2-1))^(1/2)*((c*x-1)^(1/2)*(c*x+1)^(1/2)*c*x+c^2*x^2-1)*(-1+arccosh(c*x))*d/(c*x+1)/c^2/(c*x-1)-1/16*(-d*(c^2*
x^2-1))^(1/2)*(-(c*x-1)^(1/2)*(c*x+1)^(1/2)*c*x+c^2*x^2-1)*(1+arccosh(c*x))*d/(c*x+1)/c^2/(c*x-1)+1/96*(-d*(c^
2*x^2-1))^(1/2)*(-4*(c*x-1)^(1/2)*(c*x+1)^(1/2)*c^3*x^3+4*c^4*x^4+3*(c*x-1)^(1/2)*(c*x+1)^(1/2)*c*x-5*c^2*x^2+
1)*(1+3*arccosh(c*x))*d/(c*x+1)/c^2/(c*x-1)-1/800*(-d*(c^2*x^2-1))^(1/2)*(-16*(c*x+1)^(1/2)*(c*x-1)^(1/2)*c^5*
x^5+16*c^6*x^6+20*(c*x-1)^(1/2)*(c*x+1)^(1/2)*c^3*x^3-28*c^4*x^4-5*(c*x-1)^(1/2)*(c*x+1)^(1/2)*c*x+13*c^2*x^2-
1)*(1+5*arccosh(c*x))*d/(c*x+1)/c^2/(c*x-1))

Fricas [A] (verification not implemented)

none

Time = 0.26 (sec) , antiderivative size = 185, normalized size of antiderivative = 1.12 \[ \int x \left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x)) \, dx=-\frac {15 \, {\left (b c^{6} d x^{6} - 3 \, b c^{4} d x^{4} + 3 \, b c^{2} d x^{2} - b d\right )} \sqrt {-c^{2} d x^{2} + d} \log \left (c x + \sqrt {c^{2} x^{2} - 1}\right ) - {\left (3 \, b c^{5} d x^{5} - 10 \, b c^{3} d x^{3} + 15 \, b c d x\right )} \sqrt {-c^{2} d x^{2} + d} \sqrt {c^{2} x^{2} - 1} + 15 \, {\left (a c^{6} d x^{6} - 3 \, a c^{4} d x^{4} + 3 \, a c^{2} d x^{2} - a d\right )} \sqrt {-c^{2} d x^{2} + d}}{75 \, {\left (c^{4} x^{2} - c^{2}\right )}} \]

[In]

integrate(x*(-c^2*d*x^2+d)^(3/2)*(a+b*arccosh(c*x)),x, algorithm="fricas")

[Out]

-1/75*(15*(b*c^6*d*x^6 - 3*b*c^4*d*x^4 + 3*b*c^2*d*x^2 - b*d)*sqrt(-c^2*d*x^2 + d)*log(c*x + sqrt(c^2*x^2 - 1)
) - (3*b*c^5*d*x^5 - 10*b*c^3*d*x^3 + 15*b*c*d*x)*sqrt(-c^2*d*x^2 + d)*sqrt(c^2*x^2 - 1) + 15*(a*c^6*d*x^6 - 3
*a*c^4*d*x^4 + 3*a*c^2*d*x^2 - a*d)*sqrt(-c^2*d*x^2 + d))/(c^4*x^2 - c^2)

Sympy [F]

\[ \int x \left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x)) \, dx=\int x \left (- d \left (c x - 1\right ) \left (c x + 1\right )\right )^{\frac {3}{2}} \left (a + b \operatorname {acosh}{\left (c x \right )}\right )\, dx \]

[In]

integrate(x*(-c**2*d*x**2+d)**(3/2)*(a+b*acosh(c*x)),x)

[Out]

Integral(x*(-d*(c*x - 1)*(c*x + 1))**(3/2)*(a + b*acosh(c*x)), x)

Maxima [A] (verification not implemented)

none

Time = 0.24 (sec) , antiderivative size = 102, normalized size of antiderivative = 0.62 \[ \int x \left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x)) \, dx=-\frac {{\left (-c^{2} d x^{2} + d\right )}^{\frac {5}{2}} b \operatorname {arcosh}\left (c x\right )}{5 \, c^{2} d} - \frac {{\left (-c^{2} d x^{2} + d\right )}^{\frac {5}{2}} a}{5 \, c^{2} d} + \frac {{\left (3 \, c^{4} \sqrt {-d} d^{2} x^{5} - 10 \, c^{2} \sqrt {-d} d^{2} x^{3} + 15 \, \sqrt {-d} d^{2} x\right )} b}{75 \, c d} \]

[In]

integrate(x*(-c^2*d*x^2+d)^(3/2)*(a+b*arccosh(c*x)),x, algorithm="maxima")

[Out]

-1/5*(-c^2*d*x^2 + d)^(5/2)*b*arccosh(c*x)/(c^2*d) - 1/5*(-c^2*d*x^2 + d)^(5/2)*a/(c^2*d) + 1/75*(3*c^4*sqrt(-
d)*d^2*x^5 - 10*c^2*sqrt(-d)*d^2*x^3 + 15*sqrt(-d)*d^2*x)*b/(c*d)

Giac [F(-2)]

Exception generated. \[ \int x \left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x)) \, dx=\text {Exception raised: TypeError} \]

[In]

integrate(x*(-c^2*d*x^2+d)^(3/2)*(a+b*arccosh(c*x)),x, algorithm="giac")

[Out]

Exception raised: TypeError >> an error occurred running a Giac command:INPUT:sage2:=int(sage0,sageVARx):;OUTP
UT:sym2poly/r2sym(const gen & e,const index_m & i,const vecteur & l) Error: Bad Argument Value

Mupad [F(-1)]

Timed out. \[ \int x \left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x)) \, dx=\int x\,\left (a+b\,\mathrm {acosh}\left (c\,x\right )\right )\,{\left (d-c^2\,d\,x^2\right )}^{3/2} \,d x \]

[In]

int(x*(a + b*acosh(c*x))*(d - c^2*d*x^2)^(3/2),x)

[Out]

int(x*(a + b*acosh(c*x))*(d - c^2*d*x^2)^(3/2), x)